package com.javalang;

public class MathClass {
    public static void main(String[] args) {
        System.out.println(Math.PI);
       int ret=Math.max(10,20);
       double retm = Math.min(10.5,20.3);
        System.out.println(ret);
        System.out.println(retm);
        System.out.println((int)(Math.random()*100));
        //random返回值为【0-1）的值
        double ret2 = Math.sqrt(6);
        System.out.println(ret2);
    }
}
